class InsertModelDataAction{
 constructor() {
        this.filterActionType = "insert-model-data"
    }
    createInitParam(action) {
    }
    renderActionConfig(action) {
        let html = `
           <div class="form-group">
            <label>API地址</label>
            <input type="text" id="actionApi" value="${action.api}" />
          </div>
          <div class="form-group">
            <label>请求方法</label>
            <input type="text" id="actionMethod" value="${action.method}" />
          </div>
        `;
        return html;
    }
    collectActionConfig(action) {
        action.api = document.getElementById("actionApi").value;
        action.method = document.getElementById("actionMethod").value;
    }
}
export default new InsertModelDataAction();